﻿using System;
using Castle.ActiveRecord;

namespace FileManager_Server.DataLayer.Castle_Model
{
    [ActiveRecord("ROLEGROUP")]
    public class RolegroupDbModel : ActiveRecordBase<RolegroupDbModel>
    {
        [PrimaryKey(PrimaryKeyType.Native)]
        public string ROLEGROUPID { get; set; }

        [Property]
        public string PID { get; set; }

        [Property]
        public string GROUPNAME { get; set; }
        [Property]
        public string GROUPDESC { get; set; }
        [Property]
        public string OWNERID { get; set; }
        [Property]
        public bool ISDEPARTMENTGROUP { get; set; }
        [Property]
        public bool ISUSERGROUP { get; set; }
        [Property]
        public DateTime CREATDATE { get; set; }
        [Property]
        public string SNUMBER_ROLE { get; set; }
    }
}